/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package digitaldreamers.libraries.games.servers.networkmanagement.packets.sending;

import java.io.DataOutputStream;
import java.io.IOException;

/**
 * Dummy packet to check connection state.
 *
 * @author DaoLe
 */
public class SCheckConnectionPacket extends AbSendablePacket {
    /**
     * Create a new instance.
     */
    public SCheckConnectionPacket() {
        mPacketId = 0;
    }

   /**
     * Write packet data.
     * 
     * @param pDOS Output stream
     * @throws IOException Error that occurred while writing data.
     */
    @Override
    protected void writeData(DataOutputStream pDOS) throws IOException {
        pDOS.writeInt(mPacketId);
    }
}
